package com.hengby.hengcrud.modular.sys.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.hengby.hengcrud.core.node.ZTreeNode;
import com.hengby.hengcrud.modular.sys.model.Dept;

import java.util.List;

/**
 * @author zhouheng
 */
public interface DeptMapper extends BaseMapper<Dept> {
    /**
     * 获取ztree的节点列表
     */
    List<ZTreeNode> tree();
}
